﻿@{
    ViewBag.Title = "Register";
}

@model qkview.Models.RegisterModel
<div id="registerPanel" class="todoList" style="display: block;margin-top:5em;">
     <h2>Sign up</h2>
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()
    <fieldset>
        <legend>Registration Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.Name)
                @Html.TextBoxFor(m => m.Name, new { id = "registerDisplayName" })
            </li>
            <li>
                @Html.LabelFor(m => m.Email)
                @Html.TextBoxFor(m => m.Email)
                @Html.ValidationMessageFor(m => m.Email) 
            </li>
            <li>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName, new { id = "registerName" })
                @Html.ValidationMessageFor(m => m.UserName) 
                <div style="font-size: 0.75em">http://qkview.com/username</div>
            </li>

            <li>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)
            </li>
            <li>
                <input type="submit" class="linkButton" value="Register" />
            </li>
        </ol>

    </fieldset>
}
    <p>Already signed up? @Html.ActionLink("Log in", "Login")</p>
    </div> 
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
    @section header{
     <meta name="description" content="QKView Registration (Sign Up) page")" />
           <meta name="keywords" content="QKView, signup,registration" />
        }